home *** CD-ROM | disk | FTP | other *** search
/ Nejlepší České Hry / Nej české hry.iso / hry / fragile assault / missions / mission0.dat < prev    next >
Encoding:
Text File  |  2004-11-30  |  2.0 KB  |  59 lines

  1. #==============================================================
  2. #========================= Mission 01 =========================
  3. #==============================================================
  4.  
  5. #With this function Fragile Engine will load background image
  6. #USING: loadBackground(backgroundPath)
  7. #loadBackground(back/back1.jpg, 7819)
  8. loadBackground(, 10000)
  9.  
  10.  
  11. #When you finished loading of your background you have to initialize its moving speed
  12. #You can change moving speed every time as you can
  13. #USING: initBackground(startPixel, moveStep)
  14. initBackground(0, 10)
  15.  
  16. #This function sets how often and where will enemies appear and when is time to stop 
  17. #USING: startRandEnemy(startPixel, delayBtwTwo, plusMinDelayBtwTwo, id, xMin, xMax, PlusMinusShipDelay, stopPixel)
  18.  
  19. startRandEnemy(1000, 600, 100, 3, 0, 800, 5, 5000)
  20. startRandEnemy(1000, 600, 100, 2, 0, 800, 5, 5000)
  21. startRandEnemy(2500, 800, 100, 1, 0, 800, 5, 18000)
  22. startRandEnemy(2500, 2000, 100, 0, 0, 800, 5, 18000)
  23. startRandEnemy(5000, 500, 100, 3, 0, 800, 5, 20000)
  24. startRandEnemy(5000, 500, 100, 2, 0, 800, 5, 20000)
  25. startRandEnemy(12000, 2000, 100, 13, 0, 800, 5, 17000)
  26.  
  27. startRandEnemy(18000, 1400, 100, 1, 0, 800, 5, 21000)
  28. startRandEnemy(18000, 2000, 100, 0, 0, 800, 5, 21000)
  29.  
  30. startRandEnemy(20000, 1400, 100, 3, 0, 800, 5, 23000)
  31. startRandEnemy(20000, 1400, 100, 2, 0, 800, 5, 23000)
  32. startRandEnemy(21000, 1400, 100, 1, 0, 800, 5, 23000)
  33. startRandEnemy(21000, 2500, 100, 0, 0, 800, 5, 23000)
  34.  
  35.  
  36. #USING: specEnemy(enemyBaseID, x, startY, isBoss, end)
  37. specEnemy(2, 200, 23000, 0, 1)
  38. #specEnemy(1, 300, 100, 0, 0)
  39. #specEnemy(1, 500, 100, 1, 1)
  40.  
  41. #specEnemy(2, 60, 100, 0, 0)
  42. #specEnemy(2, 60, 200, 0, 0)
  43. #specEnemy(2, 60, 300, 0, 0)
  44. #specEnemy(2, 700, 100, 0, 0)
  45. #specEnemy(2, 700, 200, 0, 0)
  46. #specEnemy(2, 700, 300, 0, 0)
  47.  
  48.  
  49.  
  50.  
  51. #USING: execute(scriptPath)
  52. execute(missions\explosions.dat)
  53. execute(missions\trans0.dat)
  54. execute(missions\asteroid0.dat)
  55. execute(missions\asteroid1.dat)
  56. execute(missions\asteroid2.dat)
  57. execute(missions\asteroid3.dat)
  58. execute(missions\text0.dat)
  59.